package com.RJAI.gemini.exception;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;

/**
 * 锐捷通用异常处理类
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RJException extends RuntimeException{
 
    @Getter
    private final int code;

 
    public RJException(String message, int code) {
        super(message);
        this.code = code;
    }

}